package sms;

import sms.model.Result;

/**
 * Created by zijun.song on 2015/7/1.
 */
public interface SmsApi {

    //短信通知类型
    Byte MESSAGE_TEMPLATE_USER_BIND_PHONE = 1; //用户绑定手机号码
    Byte MESSAGE_TEMPLATE_USER_REGISTER = 2; //用户注册
    Byte MESSAGE_TEMPLATE_USER_LOGIN = 3; //用户登录, 包含普通用户和达人.
    Byte MESSAGE_TEMPLATE_USER_REFUND = 4; //退款
    Byte MESSAGE_TEMPLATE_USER_PASSWPRD_RECOVERY = 5; //用户登录, 包含普通用户和达人 密码找回.
    Byte MESSAGE_TEMPLATE_USER_BINDING_YES = 6; //绑定账户
    Byte MESSAGE_TEMPLATE_USER_BINDING_NO = 7; //取消绑定账户
    Byte MESSAGE_TEMPLATE_USER_EXAMINE_YES = 8; //审核通过
    Byte MESSAGE_TEMPLATE_USER_EXAMINE_NO = 9; //审核失败
    Byte MESSAGE_TEMPLATE_USER_REFUND_SMS = 10; //用户退款成功后短信提醒.
    Byte MESSAGE_TEMPLATE_BATCH_REFUND_SMS = 11; //批量退款成功后短信提醒.
    Byte MESSAGE_TEMPLATE_USER_REFUND_REJECT_SMS = 12;  //用户申请退款时, 达人拒绝退款
    Byte MESSAGE_TEMPLATE_SIGNUP_SMS=13; //招募报名成功发送面试邀请短信
    Byte MESSAGE_TEMPLATE_PLACE_ORDER=14; //场馆商家端订场推送短信
    Byte MESSAGE_TEMPLATE_PLACE_ORDER_NOTICE = 15; // 用户端订场成功通知
    Byte MESSAGE_TEMPLATE_PLACE_REFUND_NOTICE = 16; // 商家端退款成功通知
    Byte MESSAGE_TEMPLATE_PLACE_MEMBER_CONSUME_NOTICE = 17; // 会员消费成功通知
    Byte MESSAGE_TEMPLATE_PLACE_BALANCE_NOTICE = 18; // 会员余额调整成功通知
    Byte MESSAGE_TEMPLATE_CLUE_ACTIVITY_NOTICE = 19; // 俱乐部活动报名成功
    Byte MESSAGE_TEMPLATE_PLACE_ADD_MEMBER_INFO = 21; // 新增会员开卡短信通知
    Byte MESSAGE_TEMPLATE_PLACE_ACTIVITY_NOTICE2=22;//俱乐部活动报名成功2
    Byte MESSAGE_TEMPLATE_PLACE_READD_MEMBER_INFO = 23; // 新增会员开卡短信通知
    Byte MESSAGE_TEMPLATE_PLACE_ORDER_REMIND=24;//APP订单提醒
    Byte MESSAGE_TEMPLATE_OPERATIVE_AWARD_NOTICE = 25; //运营活动用户获奖通知
    Byte MESSAGE_TEMPLATE_PLACE_PROMOTION_MESSAGE = 26; //场馆推广短信
    Byte MESSAGE_TEMPLATE_PLACE_ORDER_TICKET_NOTICE = 27; // 预定门票成功通知
    Byte MESSAGE_TEMPLATE_PLACE_ADD_MEMBER_REMIND=28;//开卡提醒工作人员短信
    Byte MESSAGE_TEMPLATE_PLACE_MEMBER_RECHARGE=29;//会员充值提醒工作人员短信
    Byte MESSAGE_TEMPLATE_OPERATIVE_SNATCH_NOTICE = 30;  //运营活动鸟蛋夺宝短信通知
    Byte MESSAGE_TEMPLATE_OPERATIVE_NEWYEAR_LOTTERY_NOTICE = 31;  //运营活动鸟蛋夺宝短信通知

    /**
     * 根据短信模板发送.
     *
     * @param phone
     * @param templateId
     * @param args
     * @return
     */
    Result sendMsg(String phone, Byte templateId, String[] args);


    /**
     * 根据短信模板发送.
     *
     * @param phones
     * @param templateId
     * @param args
     * @return
     */
    Result sendMsg(String[] phones, Byte templateId, String[] args);
}
